package com.jycrm.service.serve.impl;

import com.jycrm.domain.user.CrmUser;
import com.jycrm.service.serve.IReckoningDzd;
import com.jycrm.service.serve.IReckoningServiceThread;

public class ReckoningServiceThread implements IReckoningServiceThread{
	
	private String alias;
	private CrmUser creator;
	
	private String fundCodes;
	private String sql;
	private String businessCode;
	private String startDate;
	private String endDate;
	private String type;
	private int threadCount;
	
	private IReckoningDzd reckoningDzd;
	
	

	public void run() {
		try {
			reckoningDzd.conversionDzd(alias,creator,threadCount,fundCodes,sql,businessCode,startDate,endDate,type);
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
	}



	public void setAlias(String alias) {
		this.alias = alias;
	}



	public void setBusinessCode(String businessCode) {
		this.businessCode = businessCode;
	}



	public void setCreator(CrmUser creator) {
		this.creator = creator;
	}



	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}



	public void setFundCodes(String fundCodes) {
		this.fundCodes = fundCodes;
	}



	public void setReckoningDzd(IReckoningDzd reckoningDzd) {
		this.reckoningDzd = reckoningDzd;
	}



	public void setSql(String sql) {
		this.sql = sql;
	}



	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}



	public void setThreadCount(int threadCount) {
		this.threadCount = threadCount;
	}



	public void setType(String type) {
		this.type = type;
	}
	
	
	

	
}
